home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2001 May
/
SGI Freeware 2001 May - Disc 2.iso
/
dist
/
fw_netpbm.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
pnmtoddif.Z
/
pnmtoddif
Wrap
Text File
|
2001-01-10
|
2KB
|
67 lines
ppppnnnnmmmmttttooooddddddddiiiiffff((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ppppnnnnmmmmttttooooddddddddiiiiffff((((1111))))
NNNNaaaammmmeeee
pnmtoddif - Convert a portable anymap to DDIF format
SSSSyyyynnnnttttaaaaxxxx
ppppnnnnmmmmttttooooddddddddiiiiffff pnmtoddif [-resolution x y] [pnmfile [ddiffile]]
OOOOPPPPTTTTIIIIOOOONNNNSSSS
_r_e_s_o_l_u_t_i_o_n _x _y The horizontal and vertical resolution of the
output image in dots per inch. Defaults to 78
dpi.
_p_n_m_f_i_l_e The filename for the image file in pnm
format. If this argument is omitted, input
is read from stdin.
_d_d_i_f_f_i_l_e The filename for the image file to be created
in DDIF format. If this argument is omitted,
the ddiffile is written to standard output.
It can only specified if a pnmfile is also
specified.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
pnmtoddif takes a portable anymap from standard input and
converts it into a DDIF image file on standard output or the
specified DDIF file.
pbm format (bitmap) data is written as 1 bit DDIF, pgm
format data (greyscale) as 8 bit greyscale DDIF, and ppm
format data is written as 8,8,8 bit color DDIF. All DDIF
image files are written as uncompressed. The data plane
organization is interleaved by pixel.
In addition to the number of pixels in the width and height
dimension, DDIF images also carry information about the size
that the image should have, that is, the physical space that
a pixel occupies. PBMPLUS images do not carry this
information, hence it has to be externally supplied. The
default of 78 dpi has the beneficial property of not causing
a resize on most Digital Equipment Corporation color
monitors.
AAAAUUUUTTTTHHHHOOOORRRR
Burkhard Neidecker-Lutz
Digital Equipment Corporation, CEC Karlsruhe
neideck@nestvx.enet.dec.com
Page 1 (printed 12/12/00)